package cn.stylefeng.guns.modular.order.mapper;


import cn.stylefeng.guns.modular.order.model.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangyu
 * @since 2019-12-10
 */
public interface OrderMapper extends BaseMapper<Order> {

    Page<Map<String, Object>> selectOrders(@Param("page") Page page,@Param("userId") Integer userId);
}
